home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 13
/
013.d81
/
necromancer ii
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
17KB
|
548 lines
0 ifa=0thena=1:load"lettersound",8,1
1 poke806,0:poke807,192:gosub61000
2 print"";:goto10
3 print"[212]he [206]ecromancer is gone! [200]is reign is over. [215]e are free of bad jokes!!"
4 print"[194]y the way, why did the cougar cross theroad?":fort=1to2000:next
5 print"[208]lay again([217]/[206])?";:poke198,0:wait198,1:geta$
6 ifa$="y"thenrun2
7 ifa$="n"then63000
8 print"[157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157]";:goto5
10 rem
24 rem**********************
25 rem** necromancer ii:**
30 rem** necromancer's **
35 rem** revenge **
40 rem**********************
45 rem
46 rem written by steve shelton
47 rem february,1985
48 rem
49 rem translated to the c-64 by
50 rem alan gardner may,1985
55 rem
60 rem based on the game lair
61 rem of the necromancer
63 rem by rod rudd
65 rem july,1984
70 rem
80 rem
90 rem
100 rem
180 rem
200 rem
210 lc=1
250 goto11000
300 print
301 input"===>";c$
303 cm=0:print
305 ifleft$(c$,3)="use"thencm=2
310 ifleft$(c$,1)="s"thencm=3
315 ifleft$(c$,1)="n"thencm=4
320 ifleft$(c$,1)="e"thencm=5
325 ifleft$(c$,1)="w"thencm=6
330 ifleft$(c$,4)="look"thencm=7
335 ifleft$(c$,3)="get"thencm=9
337 ifleft$(c$,4)="quit"thengosub60000
340 ifcm<>2then435
345 print:input"[213]se what item? ";u$
347 ud=0:print
350 ifleft$(u$,12)="poison darts"thenud=1
355 ifleft$(u$,7)="trumpet"thenud=2
360 ifleft$(u$,12)="ring of fire"thenud=3
365 ifleft$(u$,11)="power sword"thenud=4
370 ifleft$(u$,9)="laser gun"thenud=5
375 ifleft$(u$,14)="book of spells"thenud=6
380 ifleft$(u$,10)="rotten egg"thenud=7
385 ifleft$(u$,10)="gun powder"thenud=8
390 ifleft$(u$,9)="money bag"thenud=9
395 ifleft$(u$,4)="wine"thenud=10
400 ifud=0thenprint"What?":goto300
405 goto10500
410 ifud=3thenri=2
415 ifud=4thenps=2
417 ifud=7thends=2
420 ifud=8thenmd=2
425 ifud=9thenhw=2
430 ifud=10theng0=2
435 ifleft$(c$,1)="i"then20000
440 ifleft$(c$,6)="answer"thencm=8
445 ifc$=""then301
450 ifleft$(c$,3)="com"then30000
451 ifcm=0andsu=3then30000
455 ifcm=0thenprint"[211]ay what?!?!?!?":su=su+1:goto300
460 return
500 rem*location#1
510 print"[217]ou are at the entrance of the dungeon. [201]t is humid and mucky smelling";
511 print" in here."
520 print"[212]he [206]ecromancer has returned, as he had promised. [212]his time, he is ";
521 print"torturing thekingdom's people with bad jokes. [217]ou must stop him!!"
530 print:print"There is an exit to the west."
540 gosub300
560 ifcm=2thenprint"No effect."
570 ifcm=5orcm=4orcm=3thenprint"[217]ou can't go that way!!"
580 ifcm=6thenlc=2:goto250
590 ifcm=7then500
610 ifcm=9thenprint"Nothing here."
620 goto540
1000 rem*location#2
1010 print"There is a basin in this room."
1020 ifmd=0thenprint"There is a pouch of gun powder in the basin."
1025 print
1030 print"There are exits to the south and east."
1040 gosub300
1050 ifcm=2thenprint"No effect."
1060 ifcm=3thenlc=4
1070 ifcm=4thenprint"You cannot go that direction."
1080 ifcm=5thenlc=1
1090 ifcm=6thenprint"Sorry,you can't go that way."
1100 ifcm=5orcm=3then250
1110 ifcm=7then1000
1120 ifcm=9andmd>0thenprint"Nothing here."
1125 ifcm=9andmd<1thenprint"Gun powder taken.":md=1
1130 goto1040
1175 iflc=20then10000
1500 rem*location#3
1510 print"[212]his room is empty. [212]here are exits to the south and east."
1525 print
1540 gosub300
1550 ifcm=2thenprint"No effect."
1560 ifcm=3thenlc=9:goto250
1565 ifcm=5thenlc=4:goto250
1570 ifcm=4thenprint"You can't go that direction."
1580 ifcm=6thenprint"[211]orry, you can't go that way."
1590 ifcm=7then1500
1605 ifcm=9thenprint"[206]othing here."
1610 goto1540
2000 rem*location#4
2010 print"[212]his room is empty. [212]here are exits to the north, east, and west."
2035 print
2045 gosub300
2050 ifcm=2thenprint"No effect."
2060 ifcm=2andud<>10thenprint"No effect."
2070 ifcm=9thenprint"Nothing here."
2080 ifcm=9andd4=1andsc>0thenprint"Nothing here."
2100 ifcm=3thenprint"You can't go that direction.":goto2000
2110 ifcm=4thenlc=2:goto11000
2120 ifcm=6thenlc=3:goto250
2130 ifcm=5thenlc=5:goto250
2140 goto2045
2500 rem*location#5
2505 ifz=1thenprint"The serpent lets you pass unscathed."
2510 ifz<1thenprint"[212]here is a rather large serpent here, and he will not let";
2511 ifz<1thenprint" you pass."
2516 print
2517 print"There are exits to the south and west.":print:print
2520 gosub300
2525 ifd5=1then2550
2530 ifcm=2andud=8thenprint"[212]he serpent gulps it down and gives you poison darts";
2531 ifcm=2andud=8thenprint" and a safe passage in return.":ms=1:z=1:md=2
2540 ifz<1thenprint"[212]he serpent doesn't even waste poison onyou, but swallows";
2541 ifz<1thenprint" you whole.":goto50000
2550 ifcm=2andud<>8thenprint"[206]o effect."
2560 ifcm=6thenlc=4:goto250
2570 ifcm=4orcm=5thenprint"You can't go that way."
2575 ifcm=3thenlc=6:goto250
2580 ifcm=9thenprint"Nothing here."
2590 ifcm=7then2500
2620 goto2500
3000 rem*location#7
3010 print"[212]his room is empty. [212]here are exits to the west and north."
3040 gosub300
3060 ifcm=2andud<>8thenprint"No effect."
3065 ifcm=2andud=8thenprint"No effect."
3070 ifcm=3orcm=5thenprint"You cannot go that direction."
3080 ifcm=4thenlc=6:goto250
3090 ifcm=6thenlc=8:goto250
3100 ifcm=7then3000
3120 ifcm=9thenprint"Nothing here."
3130 goto3040
3500 rem*location#8
3510 print:print:print
3520 ifhw<1thenprint"[212]here is a bag of gold in this room. [212]here is an exit to";
3521 ifhw<1thenprint" the east."
3530 ifhw>0thenprint"[212]his room is empty. [212]here is an exit to the east."
3540 gosub300
3550 ifcm=7then3500
3560 ifcm=2thenprint"[217]ou throw the weapon at the ground. [212]heground is mortally";
3561 ifcm=2thenprint" wounded."
3565 ifcm=2andud=6thenprint"You have killed the ground."
3600 ifcm=3orcm=4orcm=6thenprint"You cannot go that direction."
3610 ifcm=5thenlc=7:goto250
3620 ifcm=7then3500
3630 ifcm=9andhw>0thenprint"Nothing here."
3640 ifcm=9andhw<1thenprint"Money bag taken.":hw=1
3650 goto3540
3700 print"[212]his room is empty. [212]here are exits to the west and south."
3701 gosub300
3702 ifcm=4orcm=5thenprint"There is not a door there."
3703 ifcm=3thenlc=18:goto250
3704 ifcm=6thenlc=9:goto250
3705 ifcm=8thenprint"[200]ow are you going to answer a question when none was asked?";
3706 ifcm=2thenprint"No effect."
3707 ifcm=9thenprint"Nothing here."
3710 goto3700
4000 rem*location#9
4005 print"[212]here is a group of circular stairs forming a sort of basin in";
4006 print" the center ofit."
4010 ifho<1thenprint"There is a golden trumpet here."
4030 print"There are exits in all directions."
4040 gosub300
4060 ifcm=2andud<>4thenprint"No effect."
4065 ifcm=9andud=4thenprint"No effect."
4070 ifcm=3thenlc=12:goto11000
4080 ifcm=5thenlc=19:goto250
4085 ifcm=4thenlc=3:goto11000
4090 ifcm=6thenlc=10:goto250
4100 ifcm=7then4000
4110 ifho>0andcm=9thenprint"Nothing here.
4120 [139]cm[178]9[175]ho[178]0[167][153]"Trumpet taken.":ho[178]1
4130 [137]4040
4500 [143]*location#10
4510 [139]bb[179]1[167][153]"(NULL)here is a giant dragon eagle here. left$e is swooping down";
4511 [139]bb[179]1[167][153]" towards you."
4513 [139]bb[178]1[167][153]"There is a dead dragon eagle here."
4514 [139]re[178]1[175]rp[179]1[167][153]"There is a rotten egg here."
4515 [153]"There are exits to the south and east."
4520 [141]300
4530 [139]bb[178]1[167]re[178]1
4535 [139]cm[178]2[175]ud[178]1[167][153]"(NULL)ou strike him in his cold, black heart and he";
4536 [139]cm[178]2[175]ud[178]1[167][153]" flutters to the ground--dead.":bb[178]1:re[178]1:[137]4555
4540 [139]bb[179]1[167][153]"(NULL)he eagle rakes you with its poisonous talons and you die";
4541 [139]bb[179]1[167][153]" a slow, painful death.":[137]50000
4550 [139]cm[178]2[175]bb[178]1[167][153]"right$n some kingdoms it is considered proof of insanity";
4551 [139]cm[178]2[175]bb[178]1[167][153]" to try to kill a dead dragoneagle.":[137]4560
4552 [139]bb[177]0[167]4560
4555 [139]bb[178]1[175]re[178]1[167][153]"A rotten egg rolls out of his mouth."
4560 [153]
4570 [139]cm[178]4[176]cm[178]6[167][153]"You can't go that way."
4580 [139]cm[178]5[167]lc[178]9:[137]250
4590 [139]cm[178]3[167]lc[178]11:[137]250
4600 [139]cm[178]9[175]ds[179]1[167][153]"Egg taken.":ds[178]1:re[178]2
46